package com.frogs.ucenter.service.daoimpl;

import com.frogs.framework.base.dao.BaseDao;
import com.frogs.framework.base.service.daoimpl.BaseServiceImpl;
import com.frogs.ucenter.dao.UserOpenPlatformInfoDao;
import com.frogs.ucenter.entity.UserOpenPlatformInfo;
import com.frogs.ucenter.service.UserOpenPlatformInfoService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

@Transactional(propagation=Propagation.REQUIRED, rollbackFor=Exception.class) 
@Service("userOpenPlatformInfoService")
public class UserOpenPlatformInfoServiceImpl extends BaseServiceImpl<UserOpenPlatformInfo> implements UserOpenPlatformInfoService {
    @Autowired
    private UserOpenPlatformInfoDao userOpenPlatformInfoDao;

    public UserOpenPlatformInfoServiceImpl() {
        super();
    }

    public UserOpenPlatformInfoDao getUserOpenPlatformInfoDao() {
        return userOpenPlatformInfoDao;
    }

    /**
     * Don't remove or edit it.
     */
    @Override
    protected BaseDao<UserOpenPlatformInfo> getBaseDao() {
        return userOpenPlatformInfoDao;
    }

    public void setUserOpenPlatformInfoDao(UserOpenPlatformInfoDao userOpenPlatformInfoDao) {
        this.userOpenPlatformInfoDao = userOpenPlatformInfoDao;
    }
}